package com.itheima.oopadvanced.extendsconstructor;

/**
 * @author Anomaly
 * @date 2022/12/18 20:39
 */
public class Dog extends Animal {
    public Dog() {
        super("root");
        System.out.println("Dog无参构造器");
    }

    public Dog(int a) {
        System.out.println("Dog有参构造器");
    }
}
